﻿<%@ Page Title="Daftar Organisasi" Language="C#" MasterPageFile="~/Shared/MasterPages/Member.master" AutoEventWireup="true" CodeFile="OrganisasiList.aspx.cs" Inherits="DataMaster_OrganisasiList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head_Member" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Member" Runat="Server">
    <%-- Main View - Start --%>
    <div id="ApplicationContainer">
        
        <%-- Title & Buttons - Start --%>
        <div id="TitleToolContainer">
            <div id="Title"><asp:Label ID="Label_Title" CssClass="TextTitle" runat="server" Text="Label"></asp:Label></div>
            <asp:UpdatePanel ID="UpdatePanel_ActionTool" UpdateMode="Conditional" runat="server">
                <ContentTemplate>
                    <div id="ActionTool">
                        <div class="ActionToolItemText"><asp:Label ID="Label_Delete" runat="server" AssociatedControlID="ImageButton_Delete" Text="<%$ Resources:SPU, Label_Delete %>"></asp:Label></div>
                        <div class="ActionToolItem">
                            <asp:ImageButton ID="ImageButton_Delete" ImageUrl="~/App_Themes/SPU/icons/icon_delete.gif" runat="server" onclick="ImageButton_Delete_Click" />
                            <ajaxToolkit:ConfirmButtonExtender ID="CBE_ConfirmationDelete" ConfirmText="Apakah data akan dihapus?" runat="server" TargetControlID="ImageButton_Delete" />
                        </div>
                    </div>
                    <div style="visibility:hidden">
                        <asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>
                        <ajaxToolkit:ModalPopupExtender ID="MPE" runat="server"
                            TargetControlID="LinkButton1"
                            PopupControlID="Panel_Modal"
                            BackgroundCssClass="modalBackground" 
                            DropShadow="true" 
                            PopupDragHandleControlID="Panel_Modal_Header" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <%-- Title & Buttons - End --%>

        <div class="Separator"></div>

        <%-- Main Data - Start --%>
        <div id="ContentContainer">
            <asp:UpdatePanel ID="UpdatePanel_Main" UpdateMode="Conditional" runat="server">
                <ContentTemplate>
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                    <asp:TreeView ID="TreeView_Main" ShowLines="true" ShowCheckBoxes="Leaf" 
                        runat="server" onselectednodechanged="TreeView_Main_SelectedNodeChanged">
                        <SelectedNodeStyle Font-Bold="true" />
                    </asp:TreeView>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <%-- Main Data - End --%>
    </div>
    <%-- Main View - End --%>

    <%-- Modal Windows - Start --%>
    <asp:Panel ID="Panel_Modal" CssClass="PanelModal" runat="server">
        <asp:UpdatePanel ID="UpdatePanel_Panel_Modal" UpdateMode="Conditional" runat="server">
        <ContentTemplate>
        <div class="PanelModalHeader">
            <%-- Header Modal Windows - Start --%>
            <asp:Panel ID="Panel_Modal_Header" runat="server">
                <div class="TextTitleModalHeader"><asp:Label ID="Label_Modal_Title" runat="server" Text="Detail"></asp:Label></div>
                <div class="ActionCloseModalHeader">
                    <asp:ImageButton ID="ImageButton_Close" ImageUrl="~/App_Themes/SPU/icons/icon_modal_button_close.gif" AlternateText="Tutup" runat="server" onclick="ImageButton_Close_Click" /></div>
            </asp:Panel>
            <%-- Header Modal Windows - End --%>
        </div>
        <div class="Separator"></div>
        <div class="PanelModalContentContainer">
            <asp:Panel ID="Panel_Modal_Content" CssClass="PanelModalContent" runat="server">
                <%-- Message, Detail & Form - Start --%>
                <asp:MultiView ID="MultiView_Content" runat="server">
                    <asp:View ID="View_Detail" runat="server">
                        <table>
                            <tr>
                                <td><asp:Label ID="Label_Detail_ID" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_ID %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td><asp:Label ID="Label_Value_ID" runat="server" Text="Label"></asp:Label></td>
                            </tr>
                            <tr>
                                <td><asp:Label ID="Label_Detail_Induk" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_OrgParent %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td><asp:Label ID="Label_Value_Induk" runat="server" Text="Label"></asp:Label></td>
                            </tr>
                            <tr>
                                <td><asp:Label ID="Label_Detail_Nama" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_OrgName %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td><asp:Label ID="Label_Value_Nama" runat="server" Text="Label"></asp:Label></td>
                            </tr>
                            <tr>
                                <td><asp:Label ID="Label_Detail_Keterangan" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_OrgDescription %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td><asp:Label ID="Label_Value_Keterangan" runat="server" Text="Label"></asp:Label></td>
                            </tr>
                        </table>
                    </asp:View>
                    <asp:View ID="View_Form" runat="server">
                        <table>
                            <tr>
                                <td colspan="3">
                                    <asp:ValidationSummary ID="ValidationSummary_Form" ValidationGroup="Default" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td><asp:Label ID="Label_Form_ID" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_ID %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td>
                                    <asp:TextBox ID="TextBox_Form_ID" SkinID="TextboxForm"  ValidationGroup="Default" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RFV_Form_ID"  ValidationGroup="Default" ControlToValidate="TextBox_Form_ID" runat="server" ErrorMessage="ID harus diisi." ToolTip="ID harus diisi.">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td><asp:Label ID="Label_Form_Induk" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_OrgParent %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td><asp:TextBox ID="TextBox_Form_Induk" SkinID="TextboxForm" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td><asp:Label ID="Label_Form_Nama" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_OrgName %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td>
                                    <asp:TextBox ID="TextBox_Form_Nama" ValidationGroup="Default" SkinID="TextboxForm" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RFV_Form_Nama" ValidationGroup="Default" ControlToValidate="TextBox_Form_Nama" runat="server" ErrorMessage="Nama harus diisi." ToolTip="Nama harus diisi.">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td><asp:Label ID="Label_Form_Keterangan" SkinID="LabelDetail" runat="server" Text="<%$ Resources:Text_OrgDescription %>"></asp:Label></td>
                                <td class="SeparatorH">:</td>
                                <td><asp:TextBox ID="TextBox_Form_Keterangan" SkinID="TextboxForm" runat="server"></asp:TextBox></td>
                            </tr>
                        </table>
                    </asp:View>
                    <asp:View ID="View_Message" runat="server">
                        <div class="Message">
                            <asp:Label ID="Label_Message" runat="server" Text="Label"></asp:Label>
                        </div>
                    </asp:View>
                </asp:MultiView>
                <%-- Message, Detail & Form - End --%>
            </asp:Panel>
            <ajaxToolkit:RoundedCornersExtender ID="rce" 
                TargetControlID="Panel_Modal_Content" 
                Radius="13" 
                Corners="All" 
                BorderColor="#040404"
                runat="server" />
        </div>
        <div class="PanelModalFooter">
            <%-- Modal Windows Action - Start --%>
            <div class="PanelModalAction">
                <asp:Button ID="Button_AddChild" SkinID="ButtonModal" runat="server" Text="Tambah" onclick="Button_AddChild_Click" />
                <asp:Button ID="Button_Edit" SkinID="ButtonModal" runat="server" Text="<%$ Resources:SPU, Button_Edit %>" onclick="Button_Edit_Click" />
                <asp:Button ID="Button_Update" SkinID="ButtonModal" ValidationGroup="Default" runat="server" Text="<%$ Resources:SPU, Button_Update %>" onclick="Button_Update_Click" />
                <asp:Button ID="Button_Save" SkinID="ButtonModal" ValidationGroup="Default" runat="server" Text="<%$ Resources:SPU, Button_Save %>" onclick="Button_Save_Click" />
            </div>
            <%-- Modal Windows Action - End --%>
        </div>
        </ContentTemplate>
        </asp:UpdatePanel>
    </asp:Panel>
    <%-- Modal Windows - End --%>
</asp:Content>